package casa.depesos.app.com.http.req;

import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.Req;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.RepayDetailBean;
import casa.depesos.app.com.http.parser.RepayDetailParser;
import okhttp3.FormBody;

public class RepayDetailReq implements HttpReq<RepayDetailBean> {
    @Override
    public void req(ReqCallback<RepayDetailBean> callback) {//  /app/loan/queryRepayDetail
        FormBody.Builder builder = new FormBody.Builder();
        Req.post("/app/financial/retrieveRepaymentDetails", getParam(), getHeader(), builder.build(), new RepayDetailParser(), callback, this);
    }
}
